file_name="main.py"
str=`ps -ef | grep $file_name | grep -v "grep"|awk '{print $2}'`
kill -9 $str
if [ "$?" -eq 0 ]; then
	echo "killed pid is "$str
	echo "kill success"
else
	echo "kill failed"
fi

